//  Created by <Omar MALAGOUEN>

//  Copyright 2011 All rights reserved.
//


#ifndef CNEWPROFILE_H
#define CNEWPROFILE_H

#include <QDialog>
#include <QFile>
#include <QDir>
#include <QMessageBox>
#include <QTextStream>

namespace Ui {
    class CNewProfile;
}

class CNewProfile : public QDialog
{
    Q_OBJECT

public:
    explicit CNewProfile(QWidget *parent = 0);
    ~CNewProfile();
    QStringList content;
    QString fileName;
    QString dirName;
    bool accepted;
    void setfileName(QString);
    void setdirName (QString);
    void setcontent (QStringList);

protected:
    void changeEvent(QEvent *e);

private:
    Ui::CNewProfile *ui;

private slots:
    void on_buttonBox_rejected();
    void on_buttonBox_accepted();
};

#endif // CNEWPROFILE_H
